@model RBAC.Web.Models.LogOnModel
@{
    ViewBag.Title = "Log On";
}


<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Start Bootstrap - SB Admin Version 2.0 Demo</title>

<!-- Core CSS - Include with every page -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="font-awesome/css/font-awesome.css" rel="stylesheet">

<!-- SB Admin CSS - Include with every page -->
<link href="css/sb-admin.css" rel="stylesheet">










<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")


<div class="container">
    <div class="row">
       @* <h3 align="center">Log On</h3>*@
        <div class="col-md-4 col-md-offset-3">
            <div class="login-panel panel panel-default">

                <div class="panel-heading">

                    <h2 class="panel-title">Please Sign In</h2>
                </div>
                <div class="panel-body">



                    @using (Html.BeginForm())
                    {
                        <div>
                            <fieldset>
                                <legend ><h5>Please enter your Username and Password.</h5></legend>

                                <div class="editor-label">
                                    @Html.LabelFor(m => m.UserName)
                                </div>
                                <div class="editor-field">
                                    @Html.TextBoxFor(m => m.UserName)
                                    @Html.ValidationMessageFor(m => m.UserName)
                                </div>

                                <div class="editor-label">
                                    @Html.LabelFor(m => m.Password)
                                </div>
                                <div class="editor-field">
                                    @Html.PasswordFor(m => m.Password)
                                    @Html.ValidationMessageFor(m => m.Password)
                                </div>

                                <div class="editor-label">
                                    @Html.CheckBoxFor(m => m.RememberMe)
                                    @Html.LabelFor(m => m.RememberMe)
                                </div>

                                <p>
                                    <input type="submit" value="Log On" />
                                </p>
                            </fieldset>
                        </div>
    
   
                    }
                </div>
            </div>
            <p align="center">
                @Html.ActionLink("Register", "Register") if you don't have an account.
            </p>
        </div>
    </div>
</div>
</div>
</div>
